function createMarker(point,html) {
    var marker = new GMarker(point);
    GEvent.addListener(marker, "click", function() {
        marker.openInfoWindowHtml(html);
    });
    return marker;
}

function initialize() {
    var latlng=new google.maps.LatLng(-34.397000,150.644000);
    var myOptions = {
        zoom: 8,
        center: latlng,
        mapTypeId: google.maps.MapTypeId.ROADMAP
    };
    var map = new google.maps.Map(document.getElementById("map_canvas"),
        myOptions);
}

/*
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">


 <html>
<head>
<meta http-equiv="content-type" content="text/html;charset=UTF-8">
<style>
</style>
<script type="text/javascript">
//<![CDATA[
/*geocode=FUKjDQMdXHQsACmVpZUY06jcRzFCmIMJ8NuXPg//3BFeioRQMdypFsASlD02excCLnRjG8izfH4NFLYQ&amp;mra=ls&amp;dirflg=w&amp;sll=53.479365,11.80395&//amp;sspn=18.702352,38.803711&amp;ie=UTF8&amp;ll=53.479365,11.80395&amp;spn=4.51331,24.17878&//amp;output=embed";
var gurl="http://maps.google.be/maps?";
var err;
var source="122 oostende";
var dest=new Array("kaunas rietavo");

function clickbar(s){
  setbar(">>");
  source="&saddr=" + source;
  dest[0]="&daddr=" + "kaunas rietavo";
  setbar(source + dest[0] + dest[1]+"\n*",1);
  gmaps.style.backgroundColor="black";
  gmaps.document.write("hey");

  }


function setbar(s,concat){
  err=document.getElementById("bar");
  if (concat){
    err.firstChild.nodeValue=err.firstChild.nodeValue+s;
  }
  else{
    err.firstChild.nodeValue=s;
  }
}
//]]>
</script>
</head>
<body>
<div id="bar" style="background-color:orange;" onclick="clickbar();">
&aelig;
</div>
<iframe name="gmaps" width=1280 height=1024 frameborder="0" scrolling="no" marginheight="0" marginwidth="0"></iframe>
</body>
</html>
*/